/**
 * Created by Administrator on 2017/11/28.
 */
public class Demo4 {

    public static void main(String[] args) {
        for (int i = 1900; i < 2200; i++) {
            if (i % 4 == 0 && i % 100 != 0 || i % 400 == 0) {
                System.out.println(i);
            }
        }
    }
}
